package top.ffhome.system.entity;

import lombok.Getter;
import lombok.Setter;
import top.ffhome.common.entity.IdEntity;

/** 上传文件表 */
public class SysDoc extends IdEntity {
	private static final long serialVersionUID = 1L;

	/** 文件md5值 */
	@Getter
	@Setter
	private String md5;
	/** 文件相对路径 */
	@Getter
	@Setter
	private String path;

	/** 文件URL路径 */
	@Getter
	@Setter
	private String url;

	public SysDoc() {
	}

	public SysDoc(String md5, String path) {
		this.md5 = md5;
		this.path = path;
	}

	public SysDoc(String md5, String path, String url) {
		this.md5 = md5;
		this.path = path;
		this.url = url;
	}
}
